h1 Listing customers

table
  thead
    tr
      th Name
      th Short name
      th Master mobile
      th Master name
      th Status
      th Active
      th
      th
      th

  tbody
    - @customers.each do |customer|
      tr
        td = customer.name
        td = customer.short_name
        td = customer.master_mobile
        td = customer.master_name
        td = customer.status
        td = customer.active
        td = link_to 'Show', customer
        td = link_to 'Edit', edit_customer_path(customer)
        td = link_to 'Destroy', customer, data: { confirm: 'Are you sure?' }, method: :delete

br

= link_to 'New Customer', new_customer_path
